﻿using System.Collections.ObjectModel;
using Microsoft.WindowsMobile.DirectX.Direct3D;

namespace DirectMobile.Controls
{
	/// <summary>
	/// Provides focus-management functionality for controls that can function as a container for other controls.
	/// </summary>
	public abstract class ContainerControl : Control
	{
		public Collection<Control> Controls { get; private set; }
		public ContainerControl()
		{
			Controls = new Collection<Control>();
		}

		public override void Render(Device device)
		{
			base.Render(device);
			RenderChildren(device);
		}

		private void RenderChildren(Device device)
		{
			
		}
	}
}